<template>
	<view class="box">
		<uNavbar title="平台收款信息" bgColor="transparent"></uNavbar>
		<view class="tit">
			开户行
		</view>
		<view class="main">
			{{list.name}}
		</view>
		<view class="tit">
			开户人
		</view>
		<view class="main">
			{{list.account}}
		</view>
		<view class="tit">
			银行账号
		</view>
		<view class="main">
			{{list.num}}
		</view>
		<view class="tit" style="color: #fff;">
			温馨提示
		</view>
		<view class="text" v-if="!fictitiousState">
			<text>当前充值需要进行信息登记，保留充值截图信息，联系客服人员进
行人工审核...</text>
		</view>
		<view class="text"v-else >
					<text>当前充值需要进行信息登记，保留充值信息，联系客服人员进
		行人工审核...</text>
				</view>
		<view class="image">
			<image :src="image" mode=""></image>
		</view>
	</view>

</template>

<script>
	// import {roughList} from "../../api/wallet.js"
	import { myservice,bankInfo} from "../../api/setting.js"
	export default {
		data() {
			return {
				list:{},
				image:"",
				fictitiousState:false
			}
		},
		onLoad() {
			console.log(uni.getStorageSync('fictitiousState'));
			this.fictitiousState = uni.getStorageSync('fictitiousState')
			this.getlist()
			this.getimage()
		},
		methods: {
			getlist(){
				bankInfo().then(res=>{
					this.list=res.data
				})
			},
			getimage(){
				myservice().then(res=>{
					this.image=res.data.weChat_image
				})
			}

		}
	}
</script>

<style lang="scss" scoped>
	.box {
		width: 750rpx;
		height: 100vh;
		background-color: #211E38;
	}
	.tit{
		font-weight: 400;
		font-size: 30rpx;
		color: #A6A5AF;
		margin-top: 24rpx;
		margin-left: 40rpx;
	}
	.main{
		width: 670rpx;
		height: 96rpx;
		background: #342857;
		border-radius: 12rpx 12rpx 12rpx 12rpx;
		margin: 0 auto;
		margin-top: 30rpx;
		font-weight: 400;
		font-size: 32rpx;
		color: #FFFFFF;
		display: flex;
		align-items: center;
		padding-left: 30rpx;
	}
	.text{
		font-weight: 400;
		font-size: 24rpx;
		color: #A6A5AF;
		width: 686rpx;
		margin: 0 auto;
		margin-top: 20rpx;
	}
	.image{
		width: 750rpx;
		display: flex;
		align-items: center;
		justify-content: center;
		margin-top: 50rpx;
		>image{
			width: 300rpx;
			height: 300rpx;
			border-radius: 20rpx 20rpx 20rpx 20rpx;
		}
	}
</style>